package com.zqx.spmab.pojo.form;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

/**
 * Created by Zqx on 2018/4/24.
 */
@Data
public class AttachmentForm implements Serializable {
    private static final long serialVersionUID = 475898188909851911L;

    private String id = UUID.randomUUID().toString().replaceAll("-", "");
    private String attachName; // 文件名称
    private String fileType; // 文件类型
    private Long fileLength; // 文件大小
    private String filePath; // 文件路径
    private String fileUrl; // 文件url（与文件路径相同）
    private String outId; // 关联表id
    private String outName; // 关联表字段
    private Date createDataTime = new Date(); // createDataTime
    private String createDataUsername; // createDataUsername
    private Date updateDataTime = new Date(); // updateDataTime
    private String updateDataUsername; // updateDataUsername
    private Boolean isOne = false;//是否单文件上传
}
